
from django.urls import path,re_path

from verifications import views

app_name = 'verifications'
urlpatterns = [
    # 图形验证码
    re_path(r"image_codes/(?P<uuid>.*?)/", views.ImageCodeView.as_view()),
    # 短信验证码
    re_path(r"^sms_codes/(?P<mobile>1[3-9]\d{9}$)/$",views.SMSCodeView.as_view()),
]